package com.hx.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.hx.entity.SurveyItems;
import com.hx.repository.SurveyItemRep;
@Component
public class SurveyItemService {
	@Autowired
	private  SurveyItemRep surveyItemRep;
	
	public List<SurveyItems> getAll(){
		return (List<SurveyItems>) surveyItemRep.findAll();
	}	
}
